package com.jsbb.vo.sys;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 系统日志列表VO
 *
 * @author w
 * @date 2021-03-05
 */
@Data
public class SysLogVo {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "模块")
    private String module;

    @ApiModelProperty(value = "接口地址")
    private String url;

    @ApiModelProperty(value = "请求参数")
    private String param;

    @ApiModelProperty(value = "耗时")
    private Integer time;

    @ApiModelProperty(value = "IP")
    private String ip;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date createTime;
}
